package com.dx.entity.bo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Builder
@Data
public class Employee implements Serializable{
    private final static long serialVersionUID = 2L;
    private long id;
    private String name;
    private String username;


    private String email;

//    @JsonIgnore
    private String password;
    private String phone;
    private String sex;
    private String idNumber;
    private int status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    private Long createUser;
    private Long updateUser;
}
